﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel
{
    public class FixedDishObject
    {
        public int ID { get; set; }
        public string ObjectName { get; set; }
        public string BelongedCategoryName { get; set; }
        public string Unit { get; set; }
        public decimal Price { get; set; }
        public List<Ingredient> IngredientList { get; set; }

        public FixedDishObject(string objName, string catName)
        {
            this.ObjectName = objName;
            this.BelongedCategoryName = catName;
            this.IngredientList = new List<Ingredient>();
            this.Unit = string.Empty;
            this.Price = 0.0M;
        }

        public FixedDishObject(string objName, string catName, string unit)
            : this(objName, catName)
        {
            this.Unit = unit;
        }

        public FixedDishObject() : this(string.Empty, string.Empty) { }
    }
}
